<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>interest</title>
<link href="../Public/css/index.css" rel="stylesheet" type="text/css" />
<link href="../Public/css/member.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../Public/js/memberInfo.js"></script>
<script type="text/javascript">
function init(){
	var name = new Array("hobby[]","sports[]","music[]","food[]","film[]","travel[]","pet[]");
	var value = new Array("{$interest['hobby']}","{$interest['sports']}","{$interest['music']}",
			"{$interest['food']}","{$interest['films']}","{$interest['travel']}","{$interest['pets']}");
	for(var i = 0 ; i <name.length ; i++) {
		checkbox_init(name[i],value[i]);
	}
}
</script>
</head>
<body onload="init()">
<form action="__URL__/interestmodify" method="post">
<div id="member_info_main">
<table width="100%" border="0" cellspacing="1" cellpadding="0">
	<tr>
		<td width="25%" id="member_info_interest_td_left">兴趣爱好：</td>
		<td id="member_info_interest_td_right"><volist name="hobbylist" id="hobby">
			<input name='hobby[]' type='checkbox' value='{$hobby.opt_value}' />{$hobby.opt_name}
		</volist></td>
	</tr>
	<tr>
		<td id="member_info_interest_td_left">喜欢的运动：</td>
		<td id="member_info_interest_td_right"><volist name="sportslist" id="sports">
			<input name='sports[]' type='checkbox' value='{$sports.opt_value}' />{$sports.opt_name}
		</volist></td>
	</tr>
	<tr>
		<td id="member_info_interest_td_left">喜欢的音乐：</td>
		<td id="member_info_interest_td_right"><volist name="musiclist" id="music">
			<input name='music[]' type='checkbox' value='{$music.opt_value}' />{$music.opt_name}
		</volist></td>
	</tr>
	<tr>
		<td id="member_info_interest_td_left">喜欢的食物：</td>
		<td id="member_info_interest_td_right"><volist name="foodlist" id="food">
			<input name='food[]' type='checkbox' value='{$food.opt_value}' />{$food.opt_name}
		</volist></td>
	</tr>
	<tr>
		<td id="member_info_interest_td_left">喜欢的影视节目：</td>
		<td id="member_info_interest_td_right"><volist name="filmlist" id="film">
			<input name='film[]' type='checkbox' value='{$film.opt_value}' />{$film.opt_name}
		</volist></td>
	</tr>
	<tr>
		<td id="member_info_interest_td_left">喜欢去的地方：</td>
		<td id="member_info_interest_td_right"><volist name="travellist" id="travel">
			<input name='travel[]' type='checkbox' value='{$travel.opt_value}' />{$travel.opt_name}
		</volist></td>
	</tr>
	<tr>
		<td id="member_info_interest_td_left">喜欢的宠物：</td>
		<td id="member_info_interest_td_right"><volist name="petlist" id="pet">
			<input name='pet[]' type='checkbox' value='{$pet.opt_value}' />{$pet.opt_name}
		</volist></td>
	</tr>
	<tr>
		<td id="member_info_interest_td_left">兴趣爱好描述：</td>
		<td id="member_info_interest_td_right">
		<textarea name="interest_info" cols="80" rows="4" id="interest_info">{$interest['interest_info']}</textarea>
		</td>
	</tr>
</table>		
<div id="member_info_submit">
	<input type="image" name="submit" src="../Public/images/member/member_info_edit.gif"
		onMouseOver="this.src='../Public/images/member/member_info_edit_2.gif'" 
		onMouseOut="this.src='../Public/images/member/member_info_edit.gif'" alt="修改"> 
	<img src="../Public/images/main/modify_reset.gif" 
		onMouseOver="this.src='../Public/images/main/modify_reset_2.gif'" 
		onMouseOut="this.src='../Public/images/main/modify_reset.gif'" 
		onClick="location.reload()" style="cursor: pointer;" alt="重置">
</div>	
</div>
</form>
</body>
</html>